package com.example.elderlycare.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elderlycare.dao.entity.Relative;
import com.example.elderlycare.service.entity.RelativeListResponseBody;

public interface RelativeService extends IService<Relative> {
    /**
     * 由老人的 id 获取老人对应的所有亲属档案
     *
     * @param id elder id
     * @return relative list
     */
    RelativeListResponseBody getRelativesByElderId(Integer id);
}
